﻿@{
    ViewBag.Title = "Stock search results";
}

<h3 class="title">Stock search results</h3>

<p>@ViewBag.TestMessage </p>


<table>
    <thead>
        <tr>
            <th>Key</th>
            <th>Value</th>
        </tr>
    </thead>
    <tbody>
        @{
            FormCollection fc = null;
            if (ViewBag.FormCollection != null)
            {
                fc = ViewBag.FormCollection as FormCollection;
            }

            if (fc != null)
            {
                foreach (string key in fc.Keys)
                {
            <tr>
                <td>@key</td>
                <td>@fc[key]</td>
            </tr>
                }
            }
        }
    </tbody>
</table>
